package cn.donting.jme.edit.ui.inspector.imp.light;

import cn.donting.jme.edit.attribute.Attribute;
import cn.donting.jme.edit.ex.AttributeLoader;
import com.jme3.light.AmbientLight;
import com.jme3.light.Light;

import java.util.ArrayList;
import java.util.List;

/**
 * AmbientLight
 */
public class AmbientLightAttributeLoader implements AttributeLoader<AmbientLight> {


    @Override
    public List<Attribute> getAttribute(AmbientLight ambientLight) {
        return new ArrayList<>();
    }

    @Override
    public boolean isLoad(Object object) {
        if (object instanceof AmbientLight) {
            return true;
        }
        return false;
    }

}
